<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.selectWidth2{
   width:205px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar"><span class="color_red">*</span>物联网产品或服务销售发票清单</div>
<table  id="tblInvoices" cellpadding="0" class="table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="15%">产品或服务名称</th> 
				        <th class="TblHead" align="center"  width="15%">金额（万元）</th> 
						<th class="TblHead" align="center"  width="15%">发票号码</th> 
						<th class="TblHead" align="center"  width="15%">开票日期</th> 
						<th class="TblHead" align="center"  width="15%">买方名称</th> 
						<th class="TblHead" align="center"  width="20%">备注</th> 
					</tr>
			</thead>
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/invoices/invoice" var="invoice">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp;
							<x:out select="$invoice/@seq_no"/>
						</td>
						<td align="left">
							<x:out select="$invoice/name"/>
						</td>
						<td >
							<x:out select="$invoice/money" />
						</td> 
						<td>
							<x:out select="$invoice/number"/>
						</td>
						<td >
							<x:out select='$invoice/invoice_date' />
						</td> 
						<td align="left">
							<x:out select="$invoice/buyer_name"/>
						</td>
						<td align="left">
							<x:out select="$invoice/remark"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
					</table>
					<table   cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;" id="dkqk1">
					<tr >
					<td colspan="2" width="20%" align="center">合计</td>
					<td width="15%" align="center"><x:out select="$xmlData/data/invoices/invoice_total" /></td>
					<td width="15%" align="center">\</td>
					<td width="15%" align="center">\</td>
					<td width="15%" align="center">\</td>
					<td width="20%" align="center">\</td>
					</tr>
                   </table>
	

